home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / sources.arc / DANG_SRC.LZH / MONSTER.C < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-02  |  10.9 KB  |  425 lines

  1. /* Mon june 29,1992 
  2.    This module sets up the monster array   */
  3.  
  4. #include<globals2.h>
  5.  
  6.  
  7. assign_monsters()
  8. {
  9.    strcpy(monsters[0].name, "Troll(s)");
  10.    monsters[0].ac   = 10;
  11.    monsters[0].hd   = 1;
  12.    monsters[0].hp   = 5;
  13.    monsters[0].weapon = 1;
  14.    monsters[0].spell  = 0;
  15.    monsters[0].lvl    = 1;
  16.  
  17.   strcpy(monsters[1].name, "Bandit(s)");
  18.    monsters[1].ac   = 10;
  19.    monsters[1].hd   = 1;
  20.    monsters[1].hp   = 7;
  21.    monsters[1].weapon = 1;
  22.    monsters[1].spell  = 0;
  23.    monsters[1].lvl    = 1;
  24.  
  25.   strcpy(monsters[2].name, "Ghoul(s)");
  26.    monsters[2].ac   = 10;
  27.    monsters[2].hd   = 1;
  28.    monsters[2].hp   = 7;
  29.    monsters[2].weapon = 1;
  30.    monsters[2].spell  = 0;
  31.    monsters[2].lvl    = 1;
  32.  
  33.   strcpy(monsters[3].name, "Goblin(s)");
  34.    monsters[3].ac   = 10;
  35.    monsters[3].hd   = 1;
  36.    monsters[3].hp   = 8;
  37.    monsters[3].weapon = 1;
  38.    monsters[3].spell  = 0;
  39.    monsters[3].lvl    = 1;
  40.  
  41.    strcpy(monsters[4].name, "Zombie(s)");
  42.    monsters[4].ac   = 10;
  43.    monsters[4].hd   = 1;
  44.    monsters[4].hp   = 5;
  45.    monsters[4].weapon = 1;
  46.    monsters[4].spell  = 0;
  47.    monsters[4].lvl    = 1;
  48.  
  49.  strcpy(monsters[5].name, "Hobgoblin(s)");
  50.    monsters[5].ac   = 10;
  51.    monsters[5].hd   = 1;
  52.    monsters[5].hp   = 7;
  53.    monsters[5].weapon = 2;
  54.    monsters[5].spell  = 0;
  55.    monsters[5].lvl    = 1;
  56.  
  57.   strcpy(monsters[6].name, "Orc(s)");
  58.    monsters[6].ac   = 10;
  59.    monsters[6].hd   = 2;
  60.    monsters[6].hp   = 8;
  61.    monsters[6].weapon = 2;
  62.    monsters[6].spell  = 0;
  63.    monsters[6].lvl    = 1;
  64.  
  65.   strcpy(monsters[7].name, "Merchant(s)");
  66.    monsters[7].ac   = 10;
  67.    monsters[7].hd   = 1;
  68.    monsters[7].hp   = 10;
  69.    monsters[7].weapon = 1;
  70.    monsters[7].spell  = 0;
  71.    monsters[7].lvl    = 2;
  72.  
  73.  
  74.    strcpy(monsters[8].name, "Courier(s)");
  75.    monsters[8].ac   = 9;
  76.    monsters[8].hd   = 1;
  77.    monsters[8].hp   = 11;
  78.    monsters[8].weapon = 2;
  79.    monsters[8].spell  = 0;
  80.    monsters[8].lvl    = 2;
  81.  
  82.   strcpy(monsters[9].name, "Alcolytye(s)");
  83.    monsters[9].ac   = 8;
  84.    monsters[9].hd   = 1;
  85.    monsters[9].hp   = 12;
  86.    monsters[9].weapon = 2;
  87.    monsters[9].spell  = 1;
  88.    monsters[9].lvl    = 2;
  89.  
  90.   strcpy(monsters[10].name, "Apprentice(s)");
  91.    monsters[10].ac   = 9;
  92.    monsters[10].hd   = 2;
  93.    monsters[10].hp   = 10;
  94.    monsters[10].weapon = 2;
  95.    monsters[10].spell  = 0;
  96.    monsters[10].lvl    = 2;
  97.  
  98.   strcpy(monsters[11].name, "Kobold(s)");
  99.    monsters[11].ac   = 10;
  100.    monsters[11].hd   = 2;
  101.    monsters[11].hp   = 14;
  102.    monsters[11].weapon = 2;
  103.    monsters[11].spell  = 0;
  104.    monsters[11].lvl    = 2;
  105.  
  106.    strcpy(monsters[12].name, "Doppleganger(s)");
  107.    monsters[12].ac   = 8;
  108.    monsters[12].hd   = 2;
  109.    monsters[12].hp   = 11;
  110.    monsters[12].weapon = 2;
  111.    monsters[12].spell  = 1;
  112.    monsters[12].lvl    = 2;
  113.  
  114.   strcpy(monsters[13].name, "Thief(s)");
  115.    monsters[13].ac   = 8;
  116.    monsters[13].hd   = 2;
  117.    monsters[13].hp   = 8;
  118.    monsters[13].weapon = 2;
  119.    monsters[13].spell  = 0;
  120.    monsters[13].lvl    = 2;
  121.  
  122.   strcpy(monsters[14].name, "Wight(s)");
  123.    monsters[14].ac   = 8;
  124.    monsters[14].hd   = 3;
  125.    monsters[14].hp   = 6;
  126.    monsters[14].weapon = 3;
  127.    monsters[14].spell  = 3;
  128.    monsters[14].lvl    = 2;
  129.  
  130.   strcpy(monsters[15].name, "Dwarf(s)");
  131.    monsters[15].ac   = 9;
  132.    monsters[15].hd   = 2;
  133.    monsters[15].hp   = 15;
  134.    monsters[15].weapon = 1;
  135.    monsters[15].spell  = 0;
  136.    monsters[15].lvl    = 2;
  137.  
  138.  
  139.    strcpy(monsters[16].name, "Commoner(s)");
  140.    monsters[16].ac   = 10;
  141.    monsters[16].hd   = 1;
  142.    monsters[16].hp   = 10;
  143.    monsters[16].weapon = 1;
  144.    monsters[16].spell  = 0;
  145.    monsters[16].lvl    = 2;
  146.  
  147.   strcpy(monsters[17].name, "Shadow(s)");
  148.    monsters[17].ac   = 7;
  149.    monsters[17].hd   = 3;
  150.    monsters[17].hp   = 7;
  151.    monsters[17].weapon = 2;
  152.    monsters[17].spell  = 1;
  153.    monsters[17].lvl    = 2;
  154.  
  155.   strcpy(monsters[18].name, "Gelatinous Cube(s)");
  156.    monsters[18].ac   = 9;
  157.    monsters[18].hd   = 1;
  158.    monsters[18].hp   = 6;
  159.    monsters[18].weapon = 3;
  160.    monsters[18].spell  = 0;
  161.    monsters[18].lvl    = 2;
  162.  
  163.   strcpy(monsters[19].name, "Wererat(s)");
  164.    monsters[19].ac   = 9;
  165.    monsters[19].hd   = 3;
  166.    monsters[19].hp   = 15;
  167.    monsters[19].weapon = 1;
  168.    monsters[19].spell  = 0;
  169.    monsters[19].lvl    = 2;
  170.  
  171.    strcpy(monsters[20].name, "Ettin(s)");
  172.    monsters[20].ac   = 8;
  173.    monsters[20].hd   = 2;
  174.    monsters[20].hp   = 19;
  175.    monsters[20].weapon = 3;
  176.    monsters[20].spell  = 0;
  177.    monsters[20].lvl    = 2;
  178.  
  179.   strcpy(monsters[21].name, "Gazer(s)");
  180.    monsters[21].ac   = 8;
  181.    monsters[21].hd   = 3;
  182.    monsters[21].hp   = 21;
  183.    monsters[21].weapon = 3;
  184.    monsters[21].spell  = 2;
  185.    monsters[21].lvl    = 3;
  186.  
  187.   strcpy(monsters[22].name, "Headless(s)");
  188.    monsters[22].ac   = 8;
  189.    monsters[22].hd   = 3;
  190.    monsters[22].hp   = 22;
  191.    monsters[22].weapon = 2;
  192.    monsters[22].spell  = 0;
  193.    monsters[22].lvl    = 3;
  194.  
  195.   strcpy(monsters[23].name, "Reaper(s)");
  196.    monsters[23].ac   = 8;
  197.    monsters[23].hd   = 3;
  198.    monsters[23].hp   = 25;
  199.    monsters[23].weapon = 4;
  200.    monsters[23].spell  = 3;
  201.    monsters[23].lvl    = 3;
  202.  
  203.  
  204.    strcpy(monsters[24].name, "Ghost(s)");
  205.    monsters[24].ac   = 6;
  206.    monsters[24].hd   = 3;
  207.    monsters[24].hp   = 9;
  208.    monsters[24].weapon = 2;
  209.    monsters[24].spell  = 3;
  210.    monsters[24].lvl    = 3;
  211.  
  212.   strcpy(monsters[25].name, "City Guard(s)");
  213.    monsters[25].ac   = 9;
  214.    monsters[25].hd   = 3;
  215.    monsters[25].hp   = 27;
  216.    monsters[25].weapon = 4;
  217.    monsters[25].spell  = 0;
  218.    monsters[25].lvl    = 3;
  219.  
  220.   strcpy(monsters[26].name, "Gargoyle(s)");
  221.    monsters[26].ac   = 8;
  222.    monsters[26].hd   = 3;
  223.    monsters[26].hp   = 26;
  224.    monsters[26].weapon = 5;
  225.    monsters[26].spell  = 1;
  226.    monsters[26].lvl    = 3;
  227.  
  228.   strcpy(monsters[27].name, "Fighter(s)");
  229.    monsters[27].ac   = 7;
  230.    monsters[27].hd   = 2;
  231.    monsters[27].hp   = 28;
  232.    monsters[27].weapon = 6;
  233.    monsters[27].spell  = 0;
  234.    monsters[27].lvl    = 3;
  235.  
  236.   strcpy(monsters[28].name, "Wizard(s)");
  237.    monsters[28].ac   = 9;
  238.    monsters[28].hd   = 2;
  239.    monsters[28].hp   = 29;
  240.    monsters[28].weapon = 1;
  241.    monsters[28].spell  = 8;
  242.    monsters[28].lvl    = 4;
  243.  
  244.   strcpy(monsters[29].name, "Master Thief(s)");
  245.    monsters[29].ac   = 6;
  246.    monsters[29].hd   = 2;
  247.    monsters[29].hp   = 26;
  248.    monsters[29].weapon = 5;
  249.    monsters[29].spell  = 0;
  250.    monsters[29].lvl    = 4;
  251.  
  252.   strcpy(monsters[30].name, "Thoul(s)");
  253.    monsters[30].ac   = 6;
  254.    monsters[30].hd   = 2;
  255.    monsters[30].hp   = 28;
  256.    monsters[30].weapon = 6;
  257.    monsters[30].spell  = 2;
  258.    monsters[30].lvl    = 4;
  259.  
  260.   strcpy(monsters[31].name, "Palace Guard(s)");
  261.    monsters[31].ac   = 7;
  262.    monsters[31].hd   = 3;
  263.    monsters[31].hp   = 31;
  264.    monsters[31].weapon = 7;
  265.    monsters[31].spell  = 0;
  266.    monsters[31].lvl    = 4;
  267.  
  268.  
  269.    strcpy(monsters[32].name, "Master Wizard(s)");
  270.    monsters[32].ac   = 7;
  271.    monsters[32].hd   = 3;
  272.    monsters[32].hp   = 31;
  273.    monsters[32].weapon = 1;
  274.    monsters[32].spell  = 12;
  275.    monsters[32].lvl    = 4;
  276.  
  277.   strcpy(monsters[33].name, "Guild Master(s)");
  278.    monsters[33].ac   = 7;
  279.    monsters[33].hd   = 4;
  280.    monsters[33].hp   = 32;
  281.    monsters[33].weapon = 7;
  282.    monsters[33].spell  = 6;
  283.    monsters[33].lvl    = 4;
  284.  
  285.   strcpy(monsters[34].name, "Lesser Demon(s)");
  286.    monsters[34].ac   = 6;
  287.    monsters[34].hd   = 4;
  288.    monsters[34].hp   = 37;
  289.    monsters[34].weapon = 9;
  290.    monsters[34].spell  = 9;
  291.    monsters[34].lvl    = 5;
  292.  
  293.   strcpy(monsters[35].name, "Armoured Worm(s)");
  294.    monsters[35].ac   = 7;
  295.    monsters[35].hd   = 4;
  296.    monsters[35].hp   = 34;
  297.    monsters[35].weapon = 10;
  298.    monsters[35].spell  = 0;
  299.    monsters[35].lvl    = 5;
  300.  
  301.    strcpy(monsters[36].name, "Wyern(s)");
  302.    monsters[36].ac   = 7;
  303.    monsters[36].hd   = 4;
  304.    monsters[36].hp   = 37;
  305.    monsters[36].weapon = 11;
  306.    monsters[36].spell  = 2;
  307.    monsters[36].lvl    = 5;
  308.  
  309.   strcpy(monsters[37].name, "White Dragon(s)");
  310.    monsters[37].ac   = 7;
  311.    monsters[37].hd   = 4;
  312.    monsters[37].hp   = 40;
  313.    monsters[37].weapon = 13;
  314.    monsters[37].spell  = 0;
  315.    monsters[37].lvl    = 5;
  316.  
  317.   strcpy(monsters[38].name, "Green Dragon(s)");
  318.    monsters[38].ac   = 7;
  319.    monsters[38].hd   = 4;
  320.    monsters[38].hp   = 40;
  321.    monsters[38].weapon = 13;
  322.    monsters[38].spell  = 2;
  323.    monsters[38].lvl    = 5;
  324.  
  325.   strcpy(monsters[39].name, "Red Dragon(s)");
  326.    monsters[39].ac   = 7;
  327.    monsters[39].hd   = 4;
  328.    monsters[39].hp   = 41;
  329.    monsters[39].weapon = 10;
  330.    monsters[39].spell  = 8;
  331.    monsters[39].lvl    = 5;
  332.  
  333.  
  334.    strcpy(monsters[40].name, "Hell Fiend(s)");
  335.    monsters[40].ac   = 5;
  336.    monsters[40].hd   = 4;
  337.    monsters[40].hp   = 49;
  338.    monsters[40].weapon = 15;
  339.    monsters[40].spell  = 10;
  340.    monsters[40].lvl    = 6;
  341.  
  342.   strcpy(monsters[41].name, "Minds Eye(s)");
  343.    monsters[41].ac   = 5;
  344.    monsters[41].hd   = 4;
  345.    monsters[41].hp   = 50;
  346.    monsters[41].weapon = 2;
  347.    monsters[41].spell  = 20;
  348.    monsters[41].lvl    = 6;
  349.  
  350.   strcpy(monsters[42].name, "Dragon Lord(s)");
  351.    monsters[42].ac   = 5;
  352.    monsters[42].hd   = 5;
  353.    monsters[42].hp   = 60;
  354.    monsters[42].weapon = 20;
  355.    monsters[42].spell  = 10;
  356.    monsters[42].lvl    = 6;
  357.  
  358.   strcpy(monsters[43].name, "Damemon King(s)");
  359.    monsters[43].ac   = 4;
  360.    monsters[43].hd   = 5;
  361.    monsters[43].hp   = 55;
  362.    monsters[43].weapon = 20;
  363.    monsters[43].spell  = 9;
  364.    monsters[43].lvl    = 6;
  365.  
  366.    strcpy(monsters[44].name, "Everman(s)");
  367.    monsters[44].ac   = 6;
  368.    monsters[44].hd   = 5;
  369.    monsters[44].hp   = 100;
  370.    monsters[44].weapon = 6;
  371.    monsters[44].spell  = 0;
  372.    monsters[44].lvl    = 7;
  373.  
  374.   strcpy(monsters[45].name, "Spark(s)");
  375.    monsters[45].ac   = 5;
  376.    monsters[45].hd   = 5;
  377.    monsters[45].hp   = 69;
  378.    monsters[45].weapon = 10;
  379.    monsters[45].spell  = 2;
  380.    monsters[45].lvl    = 7;
  381.  
  382.   strcpy(monsters[46].name, "Fighter Lord(s)");
  383.    monsters[46].ac   = 6;
  384.    monsters[46].hd   = 6;
  385.    monsters[46].hp   = 80;
  386.    monsters[46].weapon = 25;
  387.    monsters[46].spell  = 0;
  388.    monsters[46].lvl    = 7;
  389.  
  390.   strcpy(monsters[47].name, "Demon Lord(s)");
  391.    monsters[47].ac   = 5;
  392.    monsters[47].hd   = 6;
  393.    monsters[47].hp   = 99;
  394.    monsters[47].weapon = 19;
  395.    monsters[47].spell  = 19;
  396.    monsters[47].lvl    = 8;
  397.  
  398.  
  399.   strcpy(monsters[48].name, "Elemental(s)");
  400.    monsters[48].ac   = 4;
  401.    monsters[48].hd   = 7;
  402.    monsters[48].hp   = 110;
  403.    monsters[48].weapon = 20;
  404.    monsters[48].spell  = 10;
  405.    monsters[48].lvl    = 9;
  406.  
  407.  
  408.   strcpy(monsters[49].name, "Spirit-Walker(s)");
  409.    monsters[49].ac   = 2;
  410.    monsters[49].hd   = 8;
  411.    monsters[49].hp   = 125;
  412.    monsters[49].weapon = 22;
  413.    monsters[49].spell  = 29;
  414.    monsters[49].lvl    = 9;
  415.  
  416.  
  417.   strcpy(monsters[50].name, "Mordrin");
  418.    monsters[50].ac   = 1;
  419.    monsters[50].hd   = 10;
  420.    monsters[50].hp   = 250;
  421.    monsters[50].weapon = 30;
  422.    monsters[50].spell  = 250;
  423.    monsters[50].lvl    = 10;
  424. }
  425.